<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>前端存储之Cookie</title>
</head>
<body>
    <a href="page2.html">page2</a>
    <script src="cookie.js"></script>
    <script>
        // 小饼干
        // document.cookie = "uid=1097739858091401"
        const cookieHandler = new CookieManager();
        // cookieHandler.setCookie("username", 'linkang', 30)
        // cookieHandler.setCookie('uid','123')
        localStorage.setItem('signature','123,456') 
   </script>
</body>
</html>